
window.onscroll = function () {
    var height = document.documentElement.scrollTop
    console.log($('.gy-bt'))
    console.log(height)
    if(height>=200){
        $('.jmrx').addClass('stuckMenu')
       
    }else if(height<200){
        $('.jmrx').removeClass('stuckMenu')
    }
    if(height>400){
        $('.gy-bt').eq(0).addClass('animated fadeInUp')
    }
    if(height>450){
        $('.ppgs1').find('p').addClass('fadeInUp animated')
    }
    if(height>1000){
        $('.ppgs2-nr').addClass('fadeInUp animated')
    }
    if(height>1350){
        $('.gy-bt').eq(1).find('span').addClass('fadeInUp animated')
    }
    if(height>1450){
        $('.mobile').find('li').addClass('fadeInUp animated')
    }
    if(height>1899){
        $('.gy-bt').eq(2).find('span').find('i').addClass('fadeInUp animated')
        $('.gy-bt').eq(2).find('span').find('em').addClass('fadeInUp animated')
    }
    if(height>2500){
        $('.swiper-wrapper').children('div').eq(0).addClass('fadeInLeftBig animated')
        $('.swiper-wrapper').children('div').eq(1).addClass('fadeInRightBig animated')
     
    }
    if(height>3100){
       
        $('.gy-bt').eq(3).find('span').find('em').addClass('fadeInUp animated')
    }
    if(height>3200){
        $('.ni').addClass('fadeInUp animated')
       
    }
    if(height>3350){
        $('.footer2').children('span').addClass('fadeInUp animated')
        $('.footer3').children('span').addClass('fadeInUp animated')
        $('.footer3').children('div').addClass('fadeInRightBig animated')
    }

    if(height>3400){
        $('.liu').find('li').addClass('fadeInUp animated')
    }
    if(height>3500){
        $('.tijiao').addClass('fadeInUp animated')
        $('.re').children('i').addClass('fadeInUp animated')
    }
}